package com.briup.MR.Merge.reduce;

import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Partitioner;

/**
 *
 */
public class MergeReducePartitioner extends Partitioner<TextTuple, Text> {
    public int getPartition(TextTuple textTuple, Text text, int i) {
        return textTuple.getUid().hashCode()*127%i;
    }
}
